package com.bmf.module.rbac.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrganizationResultVo implements Serializable {

    @ApiModelProperty(value = "id")
    private Integer id;

    //组织名称
    @ApiModelProperty(value = "组织名称")
    private String name;
    //父id
    @ApiModelProperty(value = "父id")
    private Integer parentId;

    @ApiModelProperty(value = "根节点id")
    private Integer rootId;

    @ApiModelProperty(value = "是否禁选")
    private boolean disabled;

    @ApiModelProperty(value = "isLeaf")
    private boolean isLeaf;

    private List<OrganizationResultVo> childrens;
}
